
*Settings
clear all
cap log close
*Change this to your system name
local user "awcassidy1"
set more off, permanently
cd "C:\Users\awcassidy1\Dropbox\jmp_new\cleaned_data"

local dir1 "C:\Users/`user'/Dropbox\jmp_new\tables"
local dir2 "C:\Users/`user'/Dropbox\jmp_new\figs"
local logdir "C:\Users/`user'\Dropbox\jmp_new\logs"



local sem_solution=1
local get_corr=1
local factor_all=0
local use_test_data=1
local use_means=0
local tt="no_tt"

*first specify parameters as far as which cube you want, then adjust positions,
*then draw the cubes.

********************************************************************************
*Make all_measures_0_1_1_1_0_no_tt
********************************************************************************

local sem_solution=0
local get_corr=1
local factor_all=1
local use_test_data=1
local use_means=0

include "../programs/code_to_call/setup_cubes.do"

*adjust positions

replace position=3 if load_var=="progtherm"
replace position=12 if load_var=="negleakavg"
replace position=6 if load_var=="ah_location"
replace position=3 if load_var=="ductravg"

include "../programs/code_to_call/draw_cubes.do"


********************************************************************************
*Make all_measures_0_1_0_1_0_no_tt
********************************************************************************

local sem_solution=0
local get_corr=1
local factor_all=0
local use_test_data=1
local use_means=0

include "../programs/code_to_call/setup_cubes.do"


*adjust positions

replace position=12 if load_var=="negleakavg"

include "../programs/code_to_call/draw_cubes.do"


********************************************************************************
*Make all_measures_1_1_0_1_0_no_tt
********************************************************************************

local sem_solution=1
local get_corr=1
local factor_all=0
local use_test_data=1
local use_means=0

include "../programs/code_to_call/setup_cubes.do"


*adjust positions

replace position=12 if load_var=="negleakavg"

include "../programs/code_to_call/draw_cubes.do"


********************************************************************************
*Make all_measures_1_1_1_0_0_no_tt
********************************************************************************

local sem_solution=1
local get_corr=1
local factor_all=1
local use_test_data=0
local use_means=0


include "../programs/code_to_call/setup_cubes.do"


*adjust positions

replace position=12 if load_var=="negleakavg"

include "../programs/code_to_call/draw_cubes.do"

********************************************************************************
*Make all_measures_0_1_0_1_1_no_tt
********************************************************************************

local sem_solution=0
local get_corr=1
local factor_all=0
local use_test_data=1
local use_means=1

include "../programs/code_to_call/setup_cubes.do"


*adjust positions

replace position=12 if load_var=="negleakavg"

include "../programs/code_to_call/draw_cubes.do"

********************************************************************************
*Make all_measures_0_1_0_0_1_no_tt
********************************************************************************


local sem_solution=0
local get_corr=1
local factor_all=0
local use_test_data=0
local use_means=1

include "../programs/code_to_call/setup_cubes.do"


*adjust positions

replace position=12 if load_var=="negleakavg"

include "../programs/code_to_call/draw_cubes.do"


********************************************************************************
*Make all_measures_0_1_1_0_0_tt_using_test_load
********************************************************************************

local sem_solution=0
local get_corr=1
local factor_all=1
local use_test_data=0
local use_means=0
*tt or no_tt
local tt="tt_using_test_load"

include "../programs/code_to_call/setup_cubes.do"

*adjust positions

replace position=12 if load_var=="negleakavg"

include "../programs/code_to_call/draw_cubes.do"




********************************************************************************
*Make all_measures_0_1_1_1_0_tt_using_test_load
********************************************************************************

local sem_solution=0
local get_corr=1
local factor_all=1
local use_test_data=1
local use_means=0
*tt or no_tt
local tt="tt_using_test_load"

include "../programs/code_to_call/setup_cubes.do"

*adjust positions

replace position=12 if load_var=="negleakavg"

include "../programs/code_to_call/draw_cubes.do"


********************************************************************************
*Make the key
********************************************************************************

qui {
include "../programs/code_to_call/make_key_for_cubes.do"
}